package com.xueyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.xueyu.domain.drug.drug;
import lombok.Data;

/**
 * 药品订单表
 * @TableName orderapply
 */
@TableName(value ="orderapply")
@Data
public class Orderapply implements Serializable {
    /**
     * 领用单号
     */
    @TableId(value = "orderNo")
    private String orderno;

    /**
     * 药品id
     */
    @TableField(value = "orderType")
    private Integer ordertype;

    /**
     * 领用日期
     */
    @TableField(value = "orderDate")
    private String orderdate;

    /**
     * 领用人（关联personInfo表主键）
     */
    @TableField(value = "personId")
    private String personid;
    @TableField(value = "c")
    private String c;

    /**
     * 药品数量
     */
    @TableField(value = "style")
    private String style;
    @TableField(exist = false)
    private com.xueyu.domain.drug.drug drug; // 添加Drug对象引用
    @TableField(exist = false)

    private static final long serialVersionUID = 1L;
}
